﻿# -*- coding:utf-8 -*-
#
# house
#
from django.contrib import admin
from house.models import Apartment
from house.models import MonthlyPayment
from house.models import Payment
from house.models import Variables
from house.models import Operation


class ApartmentAdmin(admin.ModelAdmin):
    list_display = ('number', 'summ', 'phone', 'contact_person', 'data',)
    list_filter = ('summ',)


class VariablesAdmin(admin.ModelAdmin):
    list_display = ('name', 'value','name_verbose',)
    
    
    

admin.site.register(Apartment, ApartmentAdmin)
admin.site.register(MonthlyPayment)
admin.site.register(Payment)
admin.site.register(Variables, VariablesAdmin)
admin.site.register(Operation)